package com.skivingcloud.report.datas.entity;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.databind.JsonNode;

public class OriginalDataDto implements Serializable {

    /**总数*/
    private long total;

    /**获取的数据详情*/
    private List<JsonNode> data;

    public OriginalDataDto(List<JsonNode> data) {
        this.data = data;
    }

    public OriginalDataDto(long total, List<JsonNode> data) {
        this.total = total;
        this.data = data;
    }

    public OriginalDataDto() {
    }

    /**
     * @return long return the total
     */
    public long getTotal() {
        return total;
    }

    /**
     * @param total the total to set
     */
    public void setTotal(long total) {
        this.total = total;
    }

    /**
     * @return List<JsonNode> return the data
     */
    public List<JsonNode> getData() {
        return data;
    }

    /**
     * @param data the data to set
     */
    public void setData(List<JsonNode> data) {
        this.data = data;
    }

}